<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewRioTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" styleClass="ajustaListaMensagemErro"  layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="list"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewRioLabel_rioCd}"/>
                    <h:outputText value="#{rioController.selected.rioCd}" title="#{bundle.ViewRioTitle_rioCd}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioId}"/>
                    <h:outputText value="#{rioController.selected.rioId}" title="#{bundle.ViewRioTitle_rioId}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioNmLigacao}"/>
                    <h:outputText value="#{rioController.selected.rioNmLigacao}" title="#{bundle.ViewRioTitle_rioNmLigacao}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioNm}"/>
                    <h:outputText value="#{rioController.selected.rioNm}" title="#{bundle.ViewRioTitle_rioNm}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioNmCompleto}"/>
                    <h:outputText value="#{rioController.selected.rioNmCompleto}" title="#{bundle.ViewRioTitle_rioNmCompleto}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioDiRioKm}"/>
                    <h:outputText value="#{rioController.selected.rioDiRioKm}" title="#{bundle.ViewRioTitle_rioDiRioKm}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioDiFozKm}"/>
                    <h:outputText value="#{rioController.selected.rioDiFozKm}" title="#{bundle.ViewRioTitle_rioDiFozKm}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioCrLongDe}"/>
                    <h:outputText value="#{rioController.selected.rioCrLongDe}" title="#{bundle.ViewRioTitle_rioCrLongDe}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioCrLatDe}"/>
                    <h:outputText value="#{rioController.selected.rioCrLatDe}" title="#{bundle.ViewRioTitle_rioCrLatDe}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioCrLongPara}"/>
                    <h:outputText value="#{rioController.selected.rioCrLongPara}" title="#{bundle.ViewRioTitle_rioCrLongPara}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioCrLatPara}"/>
                    <h:outputText value="#{rioController.selected.rioCrLatPara}" title="#{bundle.ViewRioTitle_rioCrLatPara}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioDtAtualizacao}"/>
                    <h:outputText value="#{rioController.selected.rioDtAtualizacao}" title="#{bundle.ViewRioTitle_rioDtAtualizacao}">
                        <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewRioLabel_rioAa}"/>
                    <h:outputText value="#{rioController.selected.rioAa}" title="#{bundle.ViewRioTitle_rioAa}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioEs}"/>
                    <h:outputText value="#{rioController.selected.rioEs}" title="#{bundle.ViewRioTitle_rioEs}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioFo}"/>
                    <h:outputText value="#{rioController.selected.rioFo}" title="#{bundle.ViewRioTitle_rioFo}"/>
                    <h:outputText value="#{bundle.ViewRioLabel_rioGmLinha}"/>
                    <h:outputText value="#{rioController.selected.rioGmLinha}" title="#{bundle.ViewRioTitle_rioGmLinha}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{rioController.destroyAndView}" value="#{bundle.ViewRioDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewRioEditLink}"/>
                <br />
                <h:commandLink action="#{rioController.prepareCreate}" value="#{bundle.ViewRioCreateLink}" />
                <br />
                <h:commandLink action="#{rioController.prepareList}" value="#{bundle.ViewRioShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewRioIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
